package com.ruoyi.recycle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.recycle.domain.Housekeeping;

import java.util.List;

/**
 * 家政服务Service接口
 *
 * @author Wubk
 * @date 2022-05-22
 */
public interface IHousekeepingService extends IService<Housekeeping> {
    /**
     * 查询家政服务
     *
     * @param id 家政服务主键
     * @return 家政服务
     */
    public Housekeeping selectHousekeepingById(Long id);

    /**
     * 查询家政服务列表
     *
     * @param housekeeping 家政服务
     * @return 家政服务集合
     */
    public List<Housekeeping> selectHousekeepingList(Housekeeping housekeeping);

    /**
     * 新增家政服务
     *
     * @param housekeeping 家政服务
     * @return 结果
     */
    public int insertHousekeeping(Housekeeping housekeeping);

    /**
     * 修改家政服务
     *
     * @param housekeeping 家政服务
     * @return 结果
     */
    public int updateHousekeeping(Housekeeping housekeeping);

    /**
     * 批量删除家政服务
     *
     * @param ids 需要删除的家政服务主键集合
     * @return 结果
     */
    public int deleteHousekeepingByIds(Long[] ids);

    /**
     * 删除家政服务信息
     *
     * @param id 家政服务主键
     * @return 结果
     */
    public int deleteHousekeepingById(Long id);
}
